package md.mru.transfer.old.domain;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * categoria studiilor (nomenclator)
 */
@Entity
@Table(name="STD_CTG", schema = "mru"
)
public class StdCtg implements Serializable {

    @Id
    @Column(name = "ID", unique = true, nullable = false, precision = 10, scale = 0)
    private long id;

    @Column(name = "NME", length = 20)
    private String name;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}


